<?php
/**
 * Created by 王跃达.
 * User: 小马出行
 * Date: 2017/8/24
 * Time: 16:17
 */

namespace app\api\logic;


use app\api\model\RedModel;
use think\Model;

class RedLogic extends Model
{


    public function __construct()
    {
        parent::__construct();

    }

    /**
     * 获取UID获取用户红包
     */
    public function getRedByUid($uid)
    {
        $redModel = new RedModel();
        return $redModel->getRedByUid($uid);
    }


}